<?php
class Model extends SQLQuery
{
	protected $tableName;
	
	public function __construct($tableName)
	{
		$this->tableName = $tableName;
	}
	
	/**
	 * 
	 * @param array $array
	 */
	public function clonePropertiesFromArray($properties)
	{  
		foreach($properties as $key => $value)
		{
			if(property_exists($this, $key))
			{
				$this->{$key} = $value;
			}
		}
	}
	
}